package com.gxa.web_admin.controller.zxy;

import com.gxa.common.vo.R2;
import com.gxa.common.vo.R3;
import com.gxa.modules.service.zxy.SYService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created with IntelliJ IDEA.
 * Author: zxy
 * Date: 2021/12/29 19:02
 * Description:
 * Version: V1.0
 */
@Controller
@RequestMapping("/SY")
public class SYController {
    @Autowired
    private SYService syService;

    @GetMapping("/queryData")
    @ResponseBody
    public R3 queryData(){
        return syService.queryData();
    }
}
